package com.spc.redis.serializer;

/**
 * TODO
 *
 * fastjson 实现
 *
 * @author alex
 * @version v1.0 2021/3/17
 */
public class FastJsonSerializer extends AbstractSerializer {

    public static final String TYPE= "fastjson";

    /**
     * 序列化一个对象到 字符串
     *
     * @param obj
     * @return
     * @throws SerializeException
     */
    @Override
    public <T> String serialize(T obj) throws SerializeException {
        return null;
    }

    /**
     * 反序列化到对象
     *
     * @param value
     * @param clazz
     * @return
     * @throws SerializeException
     */
    @Override
    public <T> T deserialize(String value, Class<T> clazz) throws SerializeException {
        return null;
    }
}
